package com.example.onlinemusic;


import com.example.onlinemusic.test.ListPage;
import com.example.onlinemusic.test.LoginTest;
import com.example.onlinemusic.test.LovePage;

public class onlineMusic {
    public static void main(String[] args) throws InterruptedException {
        LoginTest loginTest=new LoginTest();
        loginTest.checkPageRight();
        loginTest.loginSuccess();
        ListPage listPage=new ListPage();

//        listPage.searchSuccess("陈");

////        loginTest.loginFail();
        String s=listPage.operation("删除",1);
        listPage.load(s);
        listPage.operation("喜欢",1);
        listPage.operation("喜欢",2);
        listPage.operation("喜欢",3);
        listPage.switchTo1();
        LovePage lovePage=new LovePage();
        lovePage.searchSuccess("陈");
//        lovePage.searchFail();
        lovePage.operation(1);
    }
}
